package com.zjp;

import com.zjp.converter.DoctorMapper;
import com.zjp.domain.Doctor;
import com.zjp.domain.DoctorDTO;

public class Main {


    public static void main(String[] args) {
        Integer doctorId = 9527;
        String doctorName = "mghio";

        Doctor doctor = new Doctor();
        System.out.println("-------------");
        doctor.setId(doctorId);
        doctor.setName(doctorName);

        DoctorDTO doctorDTO = DoctorMapper.INSTANCE.toDTO(doctor);

        /*Assert.assertEquals(doctorId, doctorDTO.getId());
        Assert.assertEquals(doctorName, doctorDTO.getName());*/


    }

}
